﻿using LPLS.Commons.Enums;
using LPLS.DBEntities.ConfigModels.DataCollectionConfigModule.DataCollectionType.PLC;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace LPLS.RuleEngineBaseCommon.CollectionVarRuleEngineModule
{
    public static  class CollectionVarRuleEngineEvent
    {

        public static event Action<StatusEnum, Guid, Guid, List<PLCVarPropertyConfig>> OnColletionVarRuleEngineEvent; 



        public static void PubshCollectionVarRuleEngine (StatusEnum en,Guid deviceid,Guid compentid, List<PLCVarPropertyConfig> li)
        
        {
            OnColletionVarRuleEngineEvent?.Invoke( en,deviceid,compentid,li);



        }
    }
}
